package ch.sv7.tool.dbmanager.db.difference;

import ch.sv7.tool.dbmanager.db.IndexSchema;
import ch.sv7.tool.dbmanager.db.TableSchema;

public class IndexNameDifference extends AbstractIndexDifference {


	public IndexNameDifference(TableSchema expectedTableSchema, TableSchema actualTableSchema, IndexSchema expected, IndexSchema actual) {
		super(expectedTableSchema, actualTableSchema, expected, actual);
	}


	public String getMessage() {
		return super.getMessage() 
			+ " name should be " + getExpectedIndex().getName() + " but is " + getActualIndex().getName();
	}
	
	public boolean isBlocker() {
		return false;
	}	
	
}
